/*
public class Student {
    public String name = "123";
    public int age;
    public int height;

    public void setStudent(String name,int age,int height) {
        this.name = name;
        this.age = age;
        this.height = height;
    }

    public void test1() {
        this.test2();
    }
    public void test2() {
        System.out.println(this.name + age + height);
    }

    public static void main(String[] args) {
        Student stu = new Student();
        stu.setStudent("张三",18,180);
        stu.test1();
    }
}
*/


/*public class Student {
    public String name;
    public int age;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public static void main(String[] args) {
        Student stu1 = new Student();//这里会调用无参构造方法
    }
}*/









